﻿using System.Threading.Tasks;
using VisionCloud.Core.Model.Sys;
using VisionCloud.Domain.Common;
using VisionCloud.Domain.DtoModel.Sys;

namespace VisionCloud.Domain.Repository.Interface.Sys
{
    public interface ISysRoleRepository : IBaseRepository<SysRole>
    {
        Task<ApiPageResult> GetPage(SysRoleCondition condition);

        SysRoleDto FindSysRole(SysRoleDto sysRoleDto);
    }
}